<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8"/>
    <title>Layui</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}"  media="all"/>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<h1>留言列表</h1>
<!--手动编辑表头-->
<script type="text/html" id="hander">
    <a class="layui-icon layui-icon-addition" lay-event="add"> </a>
    <a class="layui-icon layui-icon-edit" lay-event="update"> </a>
    <a class="layui-icon layui-icon-delete" lay-event="delete"> </a>
</script>
<table class="layui-hide" id="message" lay-filter="messagelist"></table>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-radius layui-btn-warm layui-btn-sm" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-radius layui-btn-danger layui-btn-sm" lay-event="del">删除 </a>
    <a class="layui-btn layui-btn-radius layui-btn-normal layui-btn-sm" lay-event="edit">编辑 </a>
</script>
<script>
</script>
</body>
<script th:src="@{/layui/layui.js}" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述 JS 路径需要改成你本地的 -->
<script th:src="@{/js/messagelist.js}" charset="utf-8"></script>
<!-- 注意：这里需要和你所创建的js文件相符合，否则没有表格显示 -->
</html>